package cn.snoworld.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel(value = "评论", description = "文章评论")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CommentVo {
    @ApiModelProperty("评论ID")
    private Integer id;

    @ApiModelProperty("文章ID")
    private Integer articleId;

    @ApiModelProperty("父ID")
    private Integer parentId = 0;

    @ApiModelProperty("用户ID")
    private Integer userId;

    @ApiModelProperty("评论内容")
    private String text;
}
